package flex.cc.single.dto.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import flex.cc.common.vo.CommonEntity;
import lombok.Data;

/**
 * @author wkangle
 * @className CardTrackEntity
 * @description 单项卡券使用轨迹表
 * @time 2021-12-15 15:10:53
 */
@Data
@TableName("t_single_coupon_track")
public class SingleCouponTrackEntity extends CommonEntity {

	private static final long serialVersionUID = 1L;

	public SingleCouponTrackEntity() {
		super();
	}
	
	public SingleCouponTrackEntity(Long couponId, String couponNum, String trackType, 
			String trackDesc, String couponStatus, String result) {
		super();
		this.couponId = couponId;
		this.couponNum = couponNum;
		this.trackType = trackType;
		this.trackDesc = trackDesc;
		this.couponStatus = couponStatus;
		this.result = result;
	}

	/**
     * 卡券id
     */
    private Long couponId;

    /**
     * 卡券码
     */
    private String couponNum;

    /**
     * 轨迹类型：0-车服内部，1-与上游交互，2-与下游交互，3-与商户端交互
     */
    private String trackType;

    /**
     * 轨迹描述
     */
    private String trackDesc;

    /**
     * 卡券当前状态
     */
    private String couponStatus;

    /**
     * 接口请求结果：0-失败，1-成功
     */
    private String result;
}
